﻿using DtoFw.Base;
using System;
using System.Collections.Generic;
using System.Text;

namespace DtoFw.Query
{
    public class OrganQuery:BaseQuery
    {  
        public long PId { get; set; }
        public string Code { get; set; }
    }
    /// <summary>
    /// 新增
    /// </summary>  
    public class PostOrgnQuery: BaseOperator
    {
        public System.String Code { get; set; }
        public System.String Name { get; set; }
        public System.String CName { get; set; }
        public System.String ComNo { get; set; }
        /// <summary>
        /// 级别0单位1
        /// </summary>
        public int Level { get; set; } = 0;
        public long SuperiorId { get; set; }
        public long SuperiorDeptId { get; set; }
        public System.String OrgClass { get; set; }
        public System.String Tel { get; set; }
        public System.String WatchTel { get; set; }
        public System.String Zip { get; set; }
        public System.String Fax { get; set; }
        public System.String Addrs { get; set; }
        public int Used { get; set; } = 1;
        public System.Int32 OrderBy { get; set; }
        public System.String Remark { get; set; }
        public System.String Extend1 { get; set; }
        public System.String Extend2 { get; set; }
        public System.String Extend3 { get; set; }
        public System.String Extend4 { get; set; }
        public System.String Extend5 { get; set; }
    }

    public class PostOrgnEditQuery: PostOrgnQuery
    {
        /// <summary>
        /// 机构主键
        /// </summary>
        public long Id { get; set; }
    }
}
